Problems installing DBD::mysql-2.9004 under 64 bit linux
am 21.10.2004 17:51:47 von Fred Magee------=_NextPart_000_0001_01C4B74B.32EBC940
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_0002_01C4B74B.32EBC940"
------=_NextPart_001_0002_01C4B74B.32EBC940
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Good morning.
When I tried to make DBD::mysql on my Dell Precision workstation
running:
Linux localhost.localdomain 2.4.21-20.EL #1 SMP Wed Aug 18 20:34:58 EDT
2004 x86_64 x86_64 x86_64 GNU/Linux
And mysql server version: 4.0.21-standard
I get the following error:
cc -c -I/usr/lib64/perl5/site_perl/5.8.0/auto/DBI/ -I/usr/local/include
-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe
-DVERSION=\"2.9004\" -DXS_VERSION=\"2.9004\" -fPIC
"-I/usr/lib64/perl5/5.8.0/x86_64-linux-thread-multi/CORE" mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/lib64" /usr/bin/perl myld gcc -shared dbdimp.o
mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/usr/local/lib
-lmysqlclient -lz -lcrypt -lnsl -lm
/usr/bin/ld: /usr/local/lib/libmysqlclient.a(libmysql.o): relocation
R_X86_64_32S can not be used when making a shared object; recompile with
-fPIC
/usr/local/lib/libmysqlclient.a: could not read symbols: Bad value
Is this caused by the 64 bit nature of my system? How do I recompile
libmysqlclient.a(???) with the -fPIC switch? Is there an RPM version of
this that will run with Red Hat Enterprise linux?
Thanks for any help you can provide and have a great day.
Fred Magee
ATK Mission Research
(505)768-7783
fred.magee@mrcabq.com
------=_NextPart_001_0002_01C4B74B.32EBC940
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
charset=3Dus-ascii">
name=3D"time"/>
name=3D"place"/>